CREATE OR REPLACE FUNCTION InsertNewCall(problemDesc TEXT, branchId INT, callerId INT, callId INT, compIdfs INT, callNr TEXT)
RETURNS VOID AS $$
BEGIN
	INSERT INTO Caller VALUES (callerId, compIdfs, callNr);
	INSERT INTO Call VALUES (callId, callerId, branchId, problemDesc);
END;
$$ LANGUAGE 'plpgsql';